* Add a new hook LinkerMakeExternalLink to allow extensions to modify the output of
external links.
* (bug 14132) Allow user to disable bot edits from being output to UDP.
-* Two new hooks in EditPage.php: EditPage::AfterEdit:Form and
- EditPage:BeforeDisplayingTextbox
=== Bug fixes in 1.13 ===
&$text: Text to preload with
&$title: Title object representing the page being created
-'EditPage::AfterEdit:Form': After the edit textbox has been displayed
-&$this: EditPage instance (object)
-
'EditPage::attemptSave': called before an article is
saved, that is before insertNewArticle() is called
&$editpage_Obj: the current EditPage object
-'EditPage:BeforeDisplayingTextbox': Before the edit textbox is displayed
-&$this: EditPage instance (object)
-&$hidden: extra parameters of the textarea element, by default it is style="display: none;"
-
'EditPage::showEditForm:fields': allows injection of form field into edit form
&$editor: the EditPage instance for reference
&$out: an OutputPage instance to write to
// mode will show an extra newline. A bit annoying.
$encodedtext .= "\n";
}
-
- wfRunHooks( 'EditPage:BeforeDisplayingTextbox', array (&$this, &$hidden) );
$wgOut->addHTML( <<<END
$recreate
END
);
- wfRunHooks( 'EditPage::AfterEdit:Form', array (&$this) );
-
$wgOut->wrapWikiMsg( "<div id=\"editpage-copywarn\">\n$1\n</div>", $copywarnMsg );
$wgOut->addHTML( $this->editFormTextAfterWarn );
$wgOut->addHTML( "